{% extends "../base_adminlte.html" %}

{% block content %}
<div class="content-wrapper">
  <!-- Content Header (Page header) -->
    <div class="content-header">
    </div>

  <section class="content">
      <form  action="{% url 'userchangepwd' %}" method="post">
            <table style="border-collapse:separate; border-spacing: 0px 10px;
            margin-left: 400px;margin-top: 60px;align-content: center;">
            <tr>
                <td>输入原密码</td>
                 <td><input type="password" name="pwd_old" >
                    <label> {{ error.pwd_old.0 }}</label>
                     <label>{{ msg2 }}</label>
                 </td>
            </tr>
                <tr>
                    <td>输入新密码</td>
                    <td><input type="password" name="pwd_new" >
                    <label>{{ error.pwd_new.0 }}</label>
                    <label>{{ msg1 }}</label>
                    </td>
                </tr>
                <tr>
                    <td>确认密码</td>
                    <td><input type="password" name="pwd_new_confirm" >
                    <label>{{ error.pwd_new_confirm.0 }}</label>
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td ><input type="submit" value="提交" >
                   <button style="margin-left: 10%" onclick="location.href='/homepage/'" type="button" value="取消" >取消</button></td>
               </tr>
            </table>
    </form>
  </section>
</div>
{% endblock %}
